package uit.edu.vn.portal.elearning.models.schedule;

import java.util.Date;

import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;

@Root(name="until")
public class Time {
	@Element(name="time",required=false)
	private long time;

	public String getDisplay(){
		Date date = new Date(this.time);
		return date.toGMTString();
	}
	public long getTime() {
		return time;
	}

	public void setTime(long time) {
		this.time = time;
	}
	
}
